﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Boa.AIT.Reportes.Raiz
{
    public class LocalReportEmbeddedReader : Didsoft.Reporting.Microsoft.ILocalReportEmbeddedReader
    {
        public void Read(Microsoft.Reporting.WebForms.LocalReport localReport, string reportDesignAttributeName)
        {
            localReport.ReportEmbeddedResource = reportDesignAttributeName;
        }
    }

    public enum RenderFormat
    {
        PDF,
        EXCEL
    }

    public class ReportParametersDictionary : Dictionary<string, string>
    {
        public ReportParametersDictionary()
            : base()
        {
            this.Add("RenderFormat", "PDF");
        }

        public ReportParametersDictionary(RenderFormat renderFormat)
            : base()
        {
            this.Add("RenderFormat", renderFormat.ToString());
        } 

    }


}
